//
//  GesturesViewController.m
//  TenThousand
//
//  Created by 我的 on 16/6/27.
//  Copyright © 2016年 baixue. All rights reserved.
//

#import "GesturesViewController.h"
#import "HVWLockView.h"

@interface GesturesViewController ()

@end

@implementation GesturesViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    self.navigationItem.title = @"手势密码";
    [self createLeft:[UIImage imageNamed:@"ZHSZicon_03"] leftClick:^{
        [self.navigationController popViewControllerAnimated:YES];
    } right:nil rightClick:nil];
    [self addView];
    
}
-(void)addView{
    HVWLockView * view=[[HVWLockView alloc]initWithFrame:CGRectMake(0,Screen_Width/4, Screen_Width, Screen_Height)];
    view.LineBack=^(NSString * str){
        NSLog(@"%@",str);
    };
    
    UIButton *managementButton = [[UIButton alloc] initWithFrame:CGRectMake(Screen_Width/2-80, Screen_Height-150, 160, 30)];
    [managementButton setTitle:@"管理手势密码" forState:UIControlStateNormal];
    [managementButton setFont:[UIFont systemFontOfSize:15.0f]];
    [managementButton setTitleColor:[UIColor colorWithRed:0.92 green:0.26 blue:0.14 alpha:1.00] forState:UIControlStateNormal];
    [self.view addSubview:view];
    [self.view addSubview:managementButton];
    
    
    [managementButton addTarget:self action:@selector(managerBtn) forControlEvents:UIControlEventTouchUpInside];
}

- (UIStatusBarStyle)preferredStatusBarStyle {
    return UIStatusBarStyleLightContent;
}

- (void)managerBtn{
    NSLog(@"dianji");
}

@end
